Skip to content

fuchsia: override FuchsiaBuild.is_discovery to False - #5656

Open
sutes-work wants to merge 1 commit into
google:masterfrom
sutes-work:fuchsia-is-discovery
Open

sutes-work wants to merge 1 commit into
google:masterfrom
sutes-work:fuchsia-is-discovery

Conversation

@sutes-work

Copy link
Copy Markdown

Commit fbfb401 ("Support fuzz_targets property in clusterfuzz_manifest.json (#5305)") updated Build._unpack_build() to skip unpacking the build archive whenever self.is_discovery is True (engine fuzzer job with fuzz_target=None).

FuchsiaBuild.setup() calls super().setup() expecting the archive to be fully unpacked, and then immediately runs undercoat out of build_dir to boot a Fuchsia instance and enumerate fuzz targets. Skipping the unpack causes FuchsiaBuild.setup() to fail during target discovery.

Override FuchsiaBuild.is_discovery to return False so super().setup() always unpacks the archive before invoking undercoat.

Commit fbfb401 ("Support fuzz_targets property in
clusterfuzz_manifest.json (google#5305)") updated Build._unpack_build() to
skip unpacking the build archive whenever self.is_discovery is True
(engine fuzzer job with fuzz_target=None).

FuchsiaBuild.setup() calls super().setup() expecting the archive to be
fully unpacked, and then immediately runs undercoat out of build_dir to
boot a Fuchsia instance and enumerate fuzz targets. Skipping the unpack
causes FuchsiaBuild.setup() to fail during target discovery.

Override FuchsiaBuild.is_discovery to return False so super().setup()
always unpacks the archive before invoking undercoat.
@sutes-work
sutes-work requested a review from a team as a code owner November 25, 2026 23:52

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant